package com.xmtlxx.oms.domain.bo;

import com.xmtlxx.oms.domain.Task;
import com.xmtlxx.oms.domain.TaskDisposalInfo;
import com.xmtlxx.oms.domain.vo.TaskDtlVo;
import lombok.Data;

import java.util.List;

/**
 * 处置申请
 *
 * @author hergreen
 * @date 2024/07/26 10:12
 **/
@Data
public class TaskDisposalApplyBo {

    /**
     * 任务信息
     */
    private Task taskInfo;

    /**
     * 处置申请信息
     */
    private TaskDisposalInfo disposalInfo;

    /**
     * 财物信息
     */
    private List<TaskDtlVo> proList;

    public TaskDisposalInfo getDisposalInfo() {
        this.disposalInfo.setTaskId(this.taskInfo.getId());
        return this.disposalInfo;
    }

}
